package com.staryea.newcustomer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan(basePackages = {"com.staryea.invocate", "com.staryea.newcustomer"})
@MapperScan("com.staryea.newcustomer.dao")
@EnableScheduling
public class NewCustomerTaskApplication {

    public static void main(String[] args) {
        SpringApplication.run(NewCustomerTaskApplication.class, args);
    }

}
